package fr.upstlse.glre.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

import fr.upstlse.glre.client.vitrine.Vitrine;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class RiaForGlre implements EntryPoint {

	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {


//	    EspaceEtudiant ep = EspaceEtudiant.getInstance();
//	    ep.createEspace(2);
//	    RootPanel.get().add(ep.getViewport());


	    
	    //lancement de la vitrine
		Vitrine lVitrine = new Vitrine();
	    RootPanel.get().add(lVitrine.getPanel());
	    lVitrine.loadVitrine();
		
		
//		EspaceAdministration lAdministration = EspaceAdministration.getInstance();
//		lAdministration.createEspace(0);
//		RootPanel.get().add(lAdministration.getViewport());
	}
}
